import require from '@/utils/request'

// 注册或者登录
export function registOrLogin(query) {
  return require.post('/api/applets/user/registOrLogin', query)
}

// 获取h5code
export function getH5Code(query) {
  return require.post('/api/applets/user/getH5Code', query)
}

// 获取用户信息
export function getUserInfo(query) {
  return require.post('/api/applets/user/getUserInfo', query)
}
